/*
 *  Copyright 2025 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
@import '../../../styles/variables.less';

.global-settings-item {
  border: 1px solid @grey-100;
  border-radius: 12px;
  background-color: @grey-50;
  font-size: 14px;
  font-weight: 500;

  .ant-input[type='number'] {
    padding: 2px 4px;
    width: 65px;
    font-size: 14px;

    &::-webkit-outer-spin-button,
    &::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    &[type='number'] {
      -moz-appearance: textfield;
      appearance: textfield;
    }
  }

  .inline-edit-container {
    min-width: 145px;
    width: 50px;
  }

  .value-container {
    min-width: 150px;
  }
}

.global-settings-item-value {
  background-color: @team-avatar-bg;
  color: @blue-3;
  border-radius: 4px;
}
